#import "QuenchUnfoldView.h"


@implementation QuenchUnfoldView



- (void)setQuenchUnfold:(QuenchUnfoldModel *)quenchUnfold {
	_quenchUnfold = quenchUnfold;

	//: 配置cell的UI

	self.unveilInfiniteLabel.text = quenchUnfold.xenophobe;





}
- (UITextView *)binaryTextView {
	if (!_binaryTextView) {
	
        _binaryTextView = [[UITextView alloc] init];
        _binaryTextView.frame = CGRectMake(25, 49, 99, 100);
	}
	return _binaryTextView;
}

//: _imprintBtn 的点击事件
- (void)action_5 {}

- (UIButton *)imprintBtn {
	if (!_imprintBtn) {
	
        _imprintBtn = [[UIButton alloc] init];
        UIImage *quakeMelodicInsect = [UIImage imageNamed:@"images/icon_5.png"];
        if (quakeMelodicInsect) {
	        [_imprintBtn setImage:quakeMelodicInsect forState:UIControlStateNormal];
        }
        [_imprintBtn setTitle:@"button_5" forState:UIControlStateNormal];
        [_imprintBtn setTitle:@"button_selected_5" forState:UIControlStateSelected];
        [_imprintBtn setTitleColor:[UIColor colorWithRed:200/255.0 green:129/255.0 blue:21/255.0 alpha:0.8] forState:UIControlStateNormal];
        [_imprintBtn setTitleColor:[UIColor colorWithRed:179/255.0 green:74/255.0 blue:113/255.0 alpha:0.6] forState:UIControlStateSelected];
        [_imprintBtn addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
	}
	return _imprintBtn;
}

//: 设置thriveKaleidoscopeHammer的圆角
+ (void)duskOpulentHologram:(UIImageView *)kaleidoscope marble:(CGFloat)echoesDreamOlive {
	kaleidoscope.layer.cornerRadius = echoesDreamOlive;
	kaleidoscope.layer.masksToBounds = YES;
}

- (void)inspireTerrainSetupUI {

    //: 描述_0
    UIView *yarnUmbrella = [UIView new];
    self.xenonTranquilSwayView = yarnUmbrella;
    [self addSubview:yarnUmbrella];
	[self.xenonTranquilSwayView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(31);
		make.height.mas_equalTo(199);
		make.bottom.equalTo(@(19));
	}];


    //: 描述_1
    UIView *brillianceNatural = [UIView new];
    brillianceNatural.size = CGSizeMake(193, 36);
    brillianceNatural.left = 36;
    brillianceNatural.top = 31;
    self.kingdomQuakeVortexView = brillianceNatural;
    [self addSubview:brillianceNatural];


    //: 描述_2
    self.unveilInfiniteLabel = [UILabel new];
    self.unveilInfiniteLabel.frame = CGRectMake(46, 49, 127, 185);
    self.unveilInfiniteLabel.text = @"label_2";
    self.unveilInfiniteLabel.font = [UIFont systemFontOfSize:15 weight:UIFontWeightMedium];
    self.unveilInfiniteLabel.textColor = [UIColor colorWithRed:191/255.0 green:202/255.0 blue:31/255.0 alpha:0.8];
    self.unveilInfiniteLabel.textAlignment = NSTextAlignmentRight;
    self.unveilInfiniteLabel.numberOfLines = 3;
    [self addSubview:self.unveilInfiniteLabel];

	//: 描述_3
	[self addSubview:self.binaryTextView];


    //: 描述_4
    self.suspicionHazeImageView = [UIImageView new];
    self.suspicionHazeImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.suspicionHazeImageView.clipsToBounds = YES;
    self.suspicionHazeImageView.layer.cornerRadius = 17;
    self.suspicionHazeImageView.layer.masksToBounds = YES;
    UIImage *glowUndertowAmber = [UIImage imageNamed:@"images/image_4.png"];
    if (glowUndertowAmber) {
	    self.suspicionHazeImageView.image = glowUndertowAmber;
    }
    [self addSubview:self.suspicionHazeImageView];
	[self.suspicionHazeImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(127);
		make.height.mas_equalTo(88);
	}];

	//: 描述_5
	[self addSubview:self.imprintBtn];
	[self.imprintBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(72);
		make.height.mas_equalTo(51);
		make.bottom.equalTo(@(10));
	}];


    //: 描述_6
    UIImageView *thriveKaleidoscopeHammer = [[UIImageView alloc] init];
    thriveKaleidoscopeHammer.contentMode = UIViewContentModeScaleAspectFill;
    thriveKaleidoscopeHammer.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [QuenchUnfoldView duskOpulentHologram:thriveKaleidoscopeHammer marble:5];
    thriveKaleidoscopeHammer.frame = CGRectMake(36, 42, 141, 174);
    UIImage *breezeIntrepidDabble = [UIImage imageNamed:@"images/image_6.png"];
    if (breezeIntrepidDabble) {
	    thriveKaleidoscopeHammer.image = breezeIntrepidDabble;
    }
    self.prismCrispImageView = thriveKaleidoscopeHammer;
    [self addSubview:thriveKaleidoscopeHammer];
}


@end